package com.ruoyi.teaching.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生信息对象 teaching_stu
 * 
 * @author ruoyi
 * @date 2022-03-21
 */
public class TeachingStu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学生序号 */
    private Long stuId;

    /** 学生学号 */
    @Excel(name = "学生学号")
    private String stuNumber;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String stuName;

    /** 头像 */
    @Excel(name = "头像")
    private String stuPhotoUrl;

    /** 学生性别 */
    @Excel(name = "学生性别")
    private String stuSex;

    /** 出生年月 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生年月", width = 30, dateFormat = "yyyy-MM-dd")
    private Date stuBirth;

    /** 居住地址 */
    @Excel(name = "居住地址")
    private String stuSite;

    /** 学生电话 */
    @Excel(name = "学生电话")
    private String stuPhone;

    /** 所属班级 */
    @Excel(name = "所属班级")
    private Long stuClassId;

    /** 专业名称 */
    @Excel(name = "专业名称")
    private Long stuProfessionalId;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String stuMemo;

    /** 删除标识 */
    @Excel(name = "删除标识")
    private Long deleteSign;

    public void setStuId(Long stuId) 
    {
        this.stuId = stuId;
    }

    public Long getStuId() 
    {
        return stuId;
    }
    public void setStuNumber(String stuNumber) 
    {
        this.stuNumber = stuNumber;
    }

    public String getStuNumber() 
    {
        return stuNumber;
    }
    public void setStuName(String stuName) 
    {
        this.stuName = stuName;
    }

    public String getStuName() 
    {
        return stuName;
    }
    public void setStuPhotoUrl(String stuPhotoUrl) 
    {
        this.stuPhotoUrl = stuPhotoUrl;
    }

    public String getStuPhotoUrl() 
    {
        return stuPhotoUrl;
    }
    public void setStuSex(String stuSex) 
    {
        this.stuSex = stuSex;
    }

    public String getStuSex() 
    {
        return stuSex;
    }
    public void setStuBirth(Date stuBirth) 
    {
        this.stuBirth = stuBirth;
    }

    public Date getStuBirth() 
    {
        return stuBirth;
    }
    public void setStuSite(String stuSite) 
    {
        this.stuSite = stuSite;
    }

    public String getStuSite() 
    {
        return stuSite;
    }
    public void setStuPhone(String stuPhone) 
    {
        this.stuPhone = stuPhone;
    }

    public String getStuPhone() 
    {
        return stuPhone;
    }
    public void setStuClassId(Long stuClassId) 
    {
        this.stuClassId = stuClassId;
    }

    public Long getStuClassId() 
    {
        return stuClassId;
    }
    public void setStuProfessionalId(Long stuProfessionalId) 
    {
        this.stuProfessionalId = stuProfessionalId;
    }

    public Long getStuProfessionalId() 
    {
        return stuProfessionalId;
    }
    public void setStuMemo(String stuMemo) 
    {
        this.stuMemo = stuMemo;
    }

    public String getStuMemo() 
    {
        return stuMemo;
    }
    public void setDeleteSign(Long deleteSign) 
    {
        this.deleteSign = deleteSign;
    }

    public Long getDeleteSign() 
    {
        return deleteSign;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stuId", getStuId())
            .append("stuNumber", getStuNumber())
            .append("stuName", getStuName())
            .append("stuPhotoUrl", getStuPhotoUrl())
            .append("stuSex", getStuSex())
            .append("stuBirth", getStuBirth())
            .append("stuSite", getStuSite())
            .append("stuPhone", getStuPhone())
            .append("stuClassId", getStuClassId())
            .append("stuProfessionalId", getStuProfessionalId())
            .append("stuMemo", getStuMemo())
            .append("deleteSign", getDeleteSign())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
